<?php
//Shows a researcher



$query = "SELECT ID AS \"FrozenByID\", Name, Email, Position FROM Researcher";
if ($_GET['ResearcherID'] != "") {
	$query .= " WHERE Researcher.id = " . $_GET['ResearcherID'];
}
$linkArray = array('FrozenByID' => 'Home.php');
$result = mysql_query($query);
$line = mysql_fetch_array($result, MYSQL_ASSOC);
$_POST['1']['Name'] = $line['Name'];
$_POST['1']['Email'] = $line['Email'];
$_POST['1']['Position'] = $line['Position'];
require('./View/EditResearcher.php');
?>
<?php require('./View/Footer.php'); ?>